package com.zuqiuzhandui.liveing.model.resultModel;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * Created by yq on 2016-10-13.
 */

public class TeamListRs implements Parcelable {

    /**
     * code : string
     * logo : string
     * name : string
     */

    private String code;
    private String logo;
    private String name;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getLogo() {
        return logo;
    }

    public void setLogo(String logo) {
        this.logo = logo;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.code);
        dest.writeString(this.logo);
        dest.writeString(this.name);
    }

    public TeamListRs() {
    }

    protected TeamListRs(Parcel in) {
        this.code = in.readString();
        this.logo = in.readString();
        this.name = in.readString();
    }

    public static final Parcelable.Creator<TeamListRs> CREATOR = new Parcelable.Creator<TeamListRs>() {
        @Override
        public TeamListRs createFromParcel(Parcel source) {
            return new TeamListRs(source);
        }

        @Override
        public TeamListRs[] newArray(int size) {
            return new TeamListRs[size];
        }
    };
}
